package com.ty.day1.home;

import java.util.Arrays;


/**
 * Created by IntelliJ IDEA.
 *
 * @author : txy
 * @create : 2023/11/22 17:46
 */
public class Task1 {
    public static void main(String[] args) {
        String[] s={"a","b","a","c","x","b",null,"y","a"};
        String[] result = Util.deWeight(s);
        if (result!=null){
            System.out.println(Arrays.toString(result));
        }else {
            System.out.println("传递的参数为空");
        }
    }


}

